Algebra maths Olympiad question